import React from 'react';
import { useSelectorAuth } from "@/store/slices/auth";

function Index() {
    const { info } = useSelectorAuth();
    return (
        <>
            <h3>用户名：{info.name}</h3>
            <img src={info.avatar} alt="" />
        </>
    );
}

export default Index;